package com.siwei.mes.entity.experiment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 原材料实验台账检查类型记录表(ExperimentCheckTypeRecord)实体类
 *
 * @author makejava
 * @since 2024-08-02 22:35:35
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_experiment_check_type_record")
@ApiModel(value = "ExperimentCheckTypeRecord", description = "原材料实验台账检查类型记录表")
public class ExperimentCheckTypeRecord implements Serializable {
    private static final long serialVersionUID = 417962358871535467L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "原材料实验台账检查类型记录表主键ID", name = "id")
    private Long id;
    /**
     * 试验台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "试验台账id", name = "experimentId")
    private Long experimentId;

    @Column(name = "experiment_type")
    @ApiModelProperty(value = "试验台账类型 1-水泥 2-粉煤灰 3-矿渣粉 4-粗骨料 5-细骨料 6-外加剂 ", name = "experimentType")
    private Integer experimentType;
    /**
     * 类型 1-快检 2-批检
     */
    @Column(name = "check_type")
    @ApiModelProperty(value = "类型 1-快检 2-批检", name = "checkType")
    private Long checkType;
    /**
     * 检测类型 0-常规 10-月检  20-季检  30-半年检  40-年检
     */
    @Column(name = "check_time_type")
    @ApiModelProperty(value = "检测类型 0-常规 10-月检  20-季检  30-半年检  40-年检", name = "checkTimeType")
    private Long checkTimeType;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    @Column(name = "materials_id")
    @ApiModelProperty(value = "pk_materials表主键ID")
    private Long materialsId;
}
